<%--
  Created by IntelliJ IDEA.
  User: Aaking-aline
  Date: 2022-05-07
  Time: 8:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>首页</title>
  </head>
  <body>

    <%
        String host = request.getHeader("Host");
    %>

    <%=host%>

    <center>
      <form action="InsertServlet" method="post">
<%--        name属性是用来设置发送到后台的键值对的键名--%>
        用户名: <input type="text" name="username" id="username">  <br>
        密 码: <input type="password" name="password" id="password">  <br>
              <input type="submit" value="Submit">
      </form>
    </center>
  </body>
</html>
